package com.etung.iot.demo.dao;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.etung.iot.demo.modles.AlarmWarningEntity;
import com.etung.iot.demo.vo.req.AlarmReq;
import com.etung.iot.demo.vo.resp.AlarmRsp;
import org.apache.ibatis.annotations.Param;

import java.util.Date;
import java.util.List;

public interface AlarmWarningMapper extends BaseMapper<AlarmWarningEntity>{
    List<AlarmRsp> selectAlarmInfo(@Param("alarmReq") AlarmReq alarmReq);

    void batchUpdateAlarm(@Param("idList") List<String> idList,@Param("date") Date currentdate);
}
